package com.qfedu.exception;

import lombok.Data;

@Data
public class CustomerException extends RuntimeException{

    private int code = 300;
    private String msg;

    public CustomerException(){
    }

    public CustomerException(String msg){
        this.msg = msg;
    }

    public CustomerException(int code ,String msg){
        this.code = code;
        this.msg = msg;
    }
}
